<?php
class SettingsController extends BaseController {
 	function init() {
 		parent::init();
 		$this->checkLogin();
 		
 		$this->assign('people', $this->_actor->getDataArray());
 		$this->assign('isMyself', true);
 	}
	/* 用户资料
	 *
	 */
	function profileAction() {
		$this->smarty->assign(array(
			"curUrl"=>"/",
			"pageTitle"=>"个人资料",
			"pageDescription"=>$actor->nickname."的个人资料",
		));
		
		$this->display();
	}
	
	/**
	 * 修改密码
	 *
	 */
	function passwordAction() {
		$this->smarty->assign(array(
			"curUrl"=>"/",
			"pageTitle"=>"修改密码",
		));
		$this->display();
	}
	
	/**
	 * 修改头像
	 *
	 */
	function faceAction() {
		$this->smarty->assign(array(
			"curUrl"=>"/",
			"pageTitle"=>"修改头像",
		));
		$this->display();
	}
}
?>